<%@ page language="java" isELIgnored="false" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<%@ include file="/WEB-INF/jsp/ResourceGlobal.jsp"%>
<html>

<head>
 <!-- 这里引入导航信息header.tpl -->
 <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>招商财富Solution - 角色</title>
<script type="text/javascript">
var pagePath = '<%=context%>' +'sys/role/';
//默认加载
$(function(){
	//把访问路径传到js
	setPathPrefix(pagePath);
});
</script>
</head>
<body class="fixed-nav">
<div class="result-box padding-0" style="overflow: visible;">
	<div class="clearfix form-multi-col-panel">
	  	<div class="form-item-group form-horizontal" role="form">
	         <div class="form-item">
	        	<span class="form-field">角色名称：</span>
            	<span class="form-input">
	           		<input class="form-control" placeholder="角色名称" id="q-roleName" name="q-roleName">
	           	</span>
	        </div>
	        <div class="form-item">
	        	<span class="form-field">角色类型：</span>
            	<span class="form-input">
	           		<select class="form-control use-select2" id="q-roleType" name="q-roleType">
		           		<option value="">全部</option>
		                <c:forEach items="${dictionaryList}" var="dict">
		                	<option value="${dict.dctValue}">${dict.dctName}</option>
		                </c:forEach>
	           		</select>
	           	</span>
	        </div>
	        <div class="form-item">
	        	<span class="form-field">员工姓名：</span>  
            	<span class="form-input">
	           		<select class="form-control use-select2" placeholder="员工姓名" id="q-empId" name="q-empId"></select>
	           	</span>
	        </div>
	        <div class="form-item">
	        	<span class="form-field">岗位：</span>
            	<span class="form-input">
	           		<input class="form-control" placeholder="岗位" id="q-postTitle" name="q-postTitle">
	           	</span>
	        </div>
	        <div class="form-item">
	        	<span class="form-field">部门：</span>
            	<span class="form-input">
	           		<input class="form-control" placeholder="部门" id="q-orgName" name="q-orgName">
	           	</span>
	        </div>
	        <div class="form-item">
	        	<span class="form-field">操作角色：</span>
            	<span class="form-input">
	           		<input class="form-control" placeholder="操作角色" id="q-operRoleName" name="q-operRoleName">
	           	</span>
	        </div>
	        <div class="form-item">
	        	<span class="form-field">是否中后台角色：</span>
				<span class="form-input">
					<select class="form-control use-select2" placeholder="是否中后台角色" name="q-isMiddleBack" id="q-isMiddleBack">
						<option value=""></option>
						<wasp:dictOptions dctRootType="DAT_YES_NOX"></wasp:dictOptions>
					</select>
				</span>
	        </div>
	        <div class="form-item"></div>
	        <div class="form-item"></div>
	        <div class="form-item"></div>
	    </div>
	    <div class="form-action	">
          <button class="btn btn-primary" type="submit"  id="queryBtn" name="queryBtn" onclick="queryByCondtion(true)"><i class="fa fa-search"></i>&nbsp;查询</button>
          <button class="btn btn-outline btn-default" id="resetBtn" name="resetBtn" type="reset">清空</button>
      	</div>
    </div>
	<div class="form-search-group">
	        <a id="btnAdd" name="btnAdd" class="btn btn-default btn-sm"  href="javascript:WASP_ROLE.add();"><i class="fa fa-plus"></i>&nbsp;新增</a>
	     	<a class="btn btn-default btn-sm" id="refreshCachedBtn" name="refreshCachedBtn" href="javascript:WASP_ROLE.refreshCached();"><i class="fa fa-refresh"></i>&nbsp刷新缓存</a>
	</div>
	<div class="jqGrid_wrapper fullscreen-wrapper">
	    <table id="roleList"></table>
	    <div id="rolePage"></div>
	</div>
</div>
<script type="text/javascript" src="<%=context%>resources/modules/system/sys/role.js?2019030501"></script>
<script type="text/javascript" src="<%=context%>resources/modules/system/sys/role.search.js?20190726"></script>
</body>
</html>